package com.gallsoft.games.framework.gamedev2d;

import com.gallsoft.games.framework.math.Rectangle;
import com.gallsoft.games.framework.math.Vector2;


public class GameObject {

    public final Vector2 position;
    public Rectangle bounds;
    
    public GameObject(float x, float y, float width, float height) {
        this.position = new Vector2(x, y);
        this.bounds = new Rectangle(x - width / 2, y - height / 2, width, height);
    }
}
